<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:if test="${currentUser == null}">
    <div id="control">
        <span id="login"><a href="/JudiBlog/Page?p=login">Login</a></span>
        <span id="signup"><a href="/JudiBlog/Page?p=signup">Sign up</a></span>
    </div>
</c:if>
<c:if test="${currentUser.getRole().getRoleID() == 1}">
    <div id="control">
        <span id="login"><a href="/JudiBlog/Page?p=admin">Go to admin page</a></span>
    </div>
</c:if>